package org.springframework.samples.mvc.basic.model;

public class Message {

	public static final String INFO = "INFO";
	public static final String WARNING = "WARNING";
	public static final String ERROR = "ERROR";

	private String message;
	private String messageType;
	
	public Message(String messageType, String message) {
		this.messageType = messageType;
		this.message = message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public void setMessageType(String messageType) {
		this.messageType = messageType;
	}

	public String getMessage() {
		return this.message;
	}

	public String getMessageType() {
		return this.messageType;
	}
}
